<!DOCTYPE html>
<html>
<head>
    <title>E8NET</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

    <include file="./App/Admin/View/Include/css.html"/>
    <!-- this page specific styles -->
    <link rel="stylesheet" href="__PUBLIC__/Admin/css/compiled/gallery.css" type="text/css" media="screen" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>

    <include file="./App/Admin/View/Include/navbar.html" />
    <include file="./App/Admin/View/Include/menu.html" />

    <!-- main container -->
    <div class="content">

        <div class="container-fluid">
            <div id="pad-wrapper" class="gallery">
                <!-- blank state -->
                <div class="no-gallery">

                    <div class="center">
                        <form action="{:U('Student/import')}" method="post" id="import-form" enctype="multipart/form-data">
                            <input type="hidden" name="class_id" value="{$classId}" />
                            <img src="__PUBLIC__/Admin/img/excel.png" />
                            <h6>请选择一个Excel表格后单击导入按钮导入数据</h6>
                            <p>在导入数据前,请将Excel表格中的数据严格按照下面的格式进行整理.否则会导致数据导入失败。<a href="#">点击查看文件格式</a></p>
                            <p>当前班级 <span class="label label-info">{$className}</span></p>
                            <p><input type="file" name="file"/></p><br><br>
                            <button type="submit" class="btn-flat info">立即导入</button>
                            <button type="button" onclick="history.back()" class="btn-flat gray">返回</button>
                        </form>
                    </div>
                </div>
                <!-- end blank state -->
            </div>
        </div>
    </div>
    <!-- end main container -->

<include file="./App/Admin/View/Include/js.html" />

</body>
</html>